# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=libqofonoext
pkgver=1.0.29
pkgrel=0
pkgdesc="C++ API for Jolla ofono extensions"
url="https://github.com/sailfishos/libqofonoext"
# armhf blocked by libqofono
arch="all !armhf"
license="LGPL-2.1-only"
depends_dev="
	libqofono-dev
	qt5-qtbase-dev
	qt5-qtdeclarative-dev
	"
makedepends="$depends_dev"
subpackages="$pkgname-dev"
source="https://github.com/sailfishos/libqofonoext/archive/$pkgver/libqofonoext-$pkgver.tar.gz"

build() {
	qmake-qt5
	make
}

package() {
	INSTALL_ROOT="$pkgdir" make install
}

sha512sums="
5c6c8438e8e0fc79f14d967708664bfa471d0ff0d8547922f3fdb53e0df654a47f8d2673443c40210d602c95affa006989ea60171190a11f375380509ca6d6d2  libqofonoext-1.0.29.tar.gz
"
